Skip to contentSkip to conversation

Crash in Minecraft after a swp[chan] assertion fail since the last debian upgrade

Bug 109534 [email protected] 1 participant 11 messages Feb 2, 2019 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109534

Bug ID: 109534
Summary: Crash in Minecraft after a swp[chan] assertion fail
since the last debian upgrade
Product: Mesa
Version: 18.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 143275
--> https://bugs.freedesktop.org/attachment.cgi?id=143275&action=edit
Minecraft crash log

Minecraft crashes in some cases since (in my opinion) the debian sid upgrade of the mesa package (18.3.2-1 the Thu, 17 Jan 2019 20:36:15 +0200).

I reported a bug at Mojang : https://bugs.mojang.com/browse/MC-143424

They have closed it with a "Driver issue." message. The Minecraft log says :

[0201/080510:INFO:GameCallbacks.cpp(199)] launcher/launcher (main) info ../src/gallium/drivers/r600/sb/sb_ir.cpp:340:update_packed_items: Assertion `!swp[chan] || swp[chan] == v' failed.

I also join the Minecraft log in case it helps.

My environment:

# uname -a
Linux 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux
# apt show xserver-xorg-video-{all,radeon}
Package: xserver-xorg-video-all
Version: 1:7.7+19
Depends: xserver-xorg-video-amdgpu, xserver-xorg-video-ati,
xserver-xorg-video-fbdev, xserver-xorg-video-nouveau, xserver-xorg-video-vesa,
xserver-xorg-video-vmware

Package: xserver-xorg-video-radeon
Version: 1:18.1.0-1
Depends: libc6 (>= 2.17), libdrm-radeon1 (>= 2.4.39), libgbm1 (>= 8.1~0), libudev1 (>= 183), xorg-video-abi-24, xserver-xorg-core (>= 2:1.18.99.901)

# apt changelog mesa-va-drivers
Package: mesa-va-drivers
Version: 18.3.2-1
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 109534] Crash in Minecraft after a swp[chan] assertion fail since the last debian upgrade of mesa

https://bugs.freedesktop.org/show_bug.cgi?id=109534

Romain Diss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
            Summary|Crash in Minecraft after a  |Crash in Minecraft after a
                   |swp[chan] assertion fail    |swp[chan] assertion fail
                   |since the last debian       |since the last debian
                   |upgrade                     |upgrade of mesa
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

Romain Diss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Crash in Minecraft after a  |Crash in Minecraft due to a
                   |swp[chan] assertion fail    |swp[chan] assertion fail in
                   |since the last debian       |src/gallium/drivers/r600/sb
                   |upgrade of mesa             |/sb_ir.cpp
                   |                            |alu_packed_node::update_pac
                   |                            |ked_items
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #1 from Romain Diss <[email protected]> --- Should I join some more informations. Please let me know.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #2 from [email protected] --- I've faced with same problem on following configuration:

Quoted 12 lines
$ glxinfo  | grep Device
    Device: AMD JUNIPER (DRM 2.50.0 / 4.18.0-15-generic, LLVM 7.0.0) (0x68ba)
$ glxinfo | grep 'OpenGL version string'
OpenGL version string: 3.1 Mesa 18.3.3
$ lspci | grep 'VGA.*Radeon'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 6770]
$ lspci -vv -s 01:00.0 | grep driver
	Kernel driver in use: radeon
$ . /etc/lsb-release ; echo $DISTRIB_DESCRIPTION
Ubuntu 18.04.2 LTS
$ uname -a
Linux ivanhome 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #3 from [email protected] ---
FYI: I've tried to rebuild Mesa packages for Ubuntu 18.04 from x-swat-team ppa, but on codebase of Mesa 18.3.4 (instead of 18.3.3 used there), and even with mesa 18.3.4 this problem has not gone.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

Ian Campbell <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Ian Campbell <[email protected]> --- Created attachment 143606
--> https://bugs.freedesktop.org/attachment.cgi?id=143606&action=edit
minecraft log with MESA_GLSL=dump ST_DEBUG=tgsi R600_DEBUG=vs,gs,ps

I'm seeing this too, so far only when opening a chest.

Based on this IRC snippet/log
https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&date=2016-04-17
I tried running it with MESA_GLSL=dump ST_DEBUG=tgsi R600_DEBUG=vs,gs,ps and captured the attached.

```
$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710
[Radeon HD 4350/4550]
```

I'm also running Debian Sid and there does seem to be some correlation with an dist-upgrade I did on 3 March.

```
$ grep -iE '(upgrade|install) .*(mesa|radeon|xorg)' /var/log/dpkg.log 
2019-03-03 14:28:14 upgrade libdrm-radeon1:amd64 2.4.95-1 2.4.97-1
2019-03-03 14:28:14 upgrade libdrm-radeon1:i386 2.4.95-1 2.4.97-1
2019-03-03 14:28:25 upgrade libgl1-mesa-dev:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:25 upgrade libegl1-mesa-dev:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:26 upgrade mesa-common-dev:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:44 upgrade libosmesa6:i386 18.2.6-1 18.3.4-1
2019-03-03 14:28:45 upgrade libosmesa6:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:45 upgrade libglx-mesa0:i386 18.2.6-1 18.3.4-1
2019-03-03 14:28:46 upgrade libglx-mesa0:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:46 upgrade libglapi-mesa:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:47 upgrade libglapi-mesa:i386 18.2.6-1 18.3.4-1
2019-03-03 14:28:48 upgrade mesa-vdpau-drivers:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:49 upgrade mesa-vdpau-drivers:i386 18.2.6-1 18.3.4-1
2019-03-03 14:28:53 upgrade mesa-va-drivers:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:28:53 upgrade mesa-va-drivers:i386 18.2.6-1 18.3.4-1
2019-03-03 14:29:00 upgrade libgl1-mesa-dri:i386 18.2.6-1 18.3.4-1
2019-03-03 14:29:01 upgrade libgl1-mesa-dri:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:30:19 upgrade libegl-mesa0:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:32:09 upgrade libgl1-mesa-glx:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:32:09 upgrade libgl1-mesa-glx:i386 18.2.6-1 18.3.4-1
2019-03-03 14:45:26 upgrade libegl1-mesa:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:45:38 upgrade libgles2-mesa-dev:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:48:01 upgrade libwayland-egl1-mesa:amd64 18.2.6-1 18.3.4-1
2019-03-03 14:49:05 upgrade mesa-utils:amd64 8.4.0-1 8.4.0-1+b1
2019-03-03 14:49:05 install mesa-vulkan-drivers:i386 <none> 18.3.4-1
2019-03-03 14:56:28 upgrade xserver-xorg-video-amdgpu:amd64 18.1.0-1
18.1.99+git20190207-1
2019-03-03 14:56:29 upgrade xserver-xorg-video-radeon:amd64 1:18.1.0-1
1:18.1.99+git20190207-1
```
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #5 from [email protected] ---
Problem has gone with Mesa 19.0 (I've checked on OpenSUSE Tumbleweed):

Quoted 1 line
$ glxinfo  | grep Device
    Device: AMD JUNIPER (DRM 2.50.0 / 5.0.3-1-default, LLVM 7.0.1) (0x68ba)
Quoted 1 line
$ glxinfo | grep 'OpenGL version string'

OpenGL version string: 3.1 Mesa 19.0.0

Quoted 1 line
$ /sbin/lspci | grep 'VGA.*Radeon'

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 6770]

Quoted 1 line
$ /sbin/lspci -vv -s 01:00.0 | grep driver

Kernel driver in use: radeon

Quoted 1 line
$ cat /etc/os-release 

NAME="openSUSE Tumbleweed"
# VERSION="20190327"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20190327"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20190327"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Quoted 1 line
$ uname -a

Linux ivanhome 5.0.3-1-default #1 SMP Fri Mar 22 17:30:35 UTC 2019 (2a31831) x86_64 x86_64 x86_64 GNU/Linux

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #6 from [email protected] ---
I've again faced with this issue on Ubuntu 18.04 with Mesa 19.1.4 from x-swat-ppa.

After some digging I've found that current problem may not be related to Mesa, but may be related to JVM (like in #33175, which has similar symptoms, but different exception).

So I've tried to run Minecraft on latest Oracle JRE, and it seems like the problem has gone.

Also, I think that problem may be not in OpenJRE code, but in the way how OpenJRE package built, because, as I said, everything worked for me on OpenSUSE Tumbleweed / Mesa 19.0 / OpenJRE 11, while on Ubuntu 18.04 / Mesa 19.1.4 / OpenJRE 11 doesn't.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

--- Comment #7 from [email protected] ---
No, sorry. Still happening with Oracle JRE, but more rarely.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 109534] Crash in Minecraft due to a swp[chan] assertion fail in src/gallium/drivers/r600/sb/sb_ir.cpp alu_packed_node::update_packed_items

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109534

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #8 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/651.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel